home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / Newton Platform Info / Newton 2.0 Sample Code / Desktop Connectivity / SoupDrink-2 / SoupDrink-Windows-1 / SOUPDRNK.H < prev    next >
Encoding:
C/C++ Source or Header  |  1996-01-12  |  942 b   |  29 lines  |  [TEXT/R*ch]

  1. /*----------------------------------------------------------------------------------
  2.    File:        SOUPDRNK.H
  3.    Contains:    Definitions for SoupDrink - sample code for the
  4.                    Desktop Integration Libraries
  5.    Written By:    Rob Langhorne and David Fedor
  6.    Copyright 1995-1996 by Apple Computer, Inc.  All rights reserved.
  7.    
  8.   --------------------------------------------------------------------------------*/
  9.  
  10. // these are IDs for the menus and windows and controls
  11. #define IDM_EXIT    11
  12.  
  13. #define IDM_NEWNAME 21
  14. #define IDM_READ    22
  15.  
  16. #define IDM_ABOUT   31
  17.  
  18. #define IDD_DIALOG1                     101
  19. #define IDC_EDIT1                       1000
  20.  
  21. #define kOurTimeoutError -1
  22.     
  23. CommErr InitializePipe(void);
  24. void inputDialog(char *soupname, char* title, char* instruction);
  25. void PostAlertMessage(char*a, char*b, char*c, char*d);
  26. char* ErrorStrings(CommErr theErr, char* theString);
  27. CommErr ConnectPipe(void);
  28.  
  29.